//
//  YeeAdvCollectionVC.m
//  YeeShopProject
//
//  Created by CoderYee on 2017/3/14.
//  Copyright © 2017年 CoderYee. All rights reserved.
//

#import "YeeAdvCollectionVC.h"
#import "XRCollectionVideoTableCell.h"

@interface YeeAdvCollectionVC ()

@end

@implementation YeeAdvCollectionVC

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
-(void)addOwnViews
{
    [super addOwnViews];
}
-(void)addNavbarView
{
    
    
}
-(void)configOwnViews
{
    [self.tableView registerClass:[XRCollectionVideoTableCell class] forCellReuseIdentifier:[XRCollectionVideoTableCell cellIdentifier]];
    
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 10;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    XRCollectionVideoTableCell *cell=[tableView dequeueReusableCellWithIdentifier:[XRCollectionVideoTableCell cellIdentifier] forIndexPath:indexPath];
   
    return cell;
}
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    return 85;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
